import { createApp } from "vue";
import { createPinia } from "pinia";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import locale from "element-plus/es/locale/lang/zh-cn"; // 中文语言

import App from "./App.vue";
import router from "./router";

import "./assets/main.css";
const pinia = createPinia();
const app = createApp(App);
app.use(router);
app.use(pinia);
// 使用element-plus 并且设置全局的大小
app.use(ElementPlus, {
  locale: locale,
});
app.mount("#app");
